<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title><tiles:getAsString name="pageTitle"/></title>
    <jsp:include page="incoud.jsp"/>
    <script type="text/javascript">
        $(document).ready(function () {
            var pathname = window.location.pathname;
            var entity = $("a[href='" + pathname + "']");
            entity.parent().addClass("active");
            entity.parent().parent().parent().addClass("active menu-open");
            
            $(".submitForm").submit(function(){
            	$.ajax({
            		url:"",
            		data:$(this).serary(),
            		type:"POST",
            		success:function(){
            			
            		}
            	});
            	return false;
            });
            
            $(".help-block").parent().parent().addClass("has-error");
            
            CKEDITOR.replace("editor1");
        });
    </script>
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
    <tiles:insertAttribute name="pageTop"/>
    <tiles:insertAttribute name="pageLeft"/>

    <!-- Content Wrapper. Cotains page content -->
    <div class="content-wrapper">

        <tiles:insertAttribute name="pageContent"/>
    </div>

    <!--  -->
    <footer class="main-footer">
        <div class="pull-right hidden-xs">
            <b>Version</b> 2.4.0
        </div>
        <strong>
            Copyright &cpoy; 2014-2016<a href="">dsadsa</a>
        </strong>
    </footer>
</div>

</body>
</html>